const key = 'USER_INFO'
//拿到本地存储的token
export function getToken(){
 return localStorage.getItem(key)
}

//在本地保存token
export function setToken(token){
  return localStorage.setItem(key,token)
}

//移出本地保存的token
export function removeToken(){
 return  localStorage.removeItem(key)
}